package com.ruiysoft.crm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruiysoft.crm.model.ApiResponseEx;
import com.ruiysoft.crm.model.entity.BizCallLog;
import com.ruiysoft.crm.model.entity.SysUser;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Yanghu
 * @since 2019-04-13
 */
public interface IBizCallLogService extends IService<BizCallLog> {

    Object getCallLogs(Map<String, Object> params, int userId);

    Object updateCallLog(BizCallLog callLog);

    ApiResponseEx insertCallLog(BizCallLog callLog);

    ApiResponseEx deleteCallLog(int id);

    ApiResponseEx talkTimeLogByUserId(int userId);

    ApiResponseEx call(Integer clientId, Integer userId, Integer tag);

    List<SysUser> callTimeLog(int userId);

    ApiResponseEx callme(Integer userId);
}
